package com.opennetexam.manager.enums;

/**
 * @author 奶茶
 * Created by on 2017/12/7.
 */
public enum LoginResultType {

    DEPLOYMENTMODE_ERROR("部署方式不正确",0),
    JUMP_DOWNLOAD_PAGE("跳转到下载页",1),
    JUMP_FREE_EXAM("跳转随考列表",2),
    JUMP_SIMULATION_EXAM("跳转模拟考列表",3),
    TODAY_NO_AVAILABLE_EXAM("今日没有可参加的考试",4),
    EXAM_NO_START("考试未开始，禁止登录系统！",5),
    EXAM_ALREADY_START("考试中途，禁止登录系统",6),
    EXAMCARDNO_IS_INVALID("准考证号或密码错误",7),
    UNSIGNIN("未签到，不能进行考试",8),
    EXAMCARDNO_AND_SEAT_NUMBER_NO_SAME("考生号与座位号不符，请确认准考证上的信息",9),
    LOGIN_ON_OTHER_MACHINES("已在其他机器上登录",10),
    IP_NOT_ALLOWED("当前IP不被允许进行考试",11),
    ALL_EXAM_COMPLETED("已完成了所有的考试",12),
    PASSWORD_ERROR("密码错误",13),
    ;

    String display;
    Integer prefix;

    LoginResultType(String display, Integer prefix) {
        this.display = display;
        this.prefix = prefix;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    public Integer getPrefix() {
        return prefix;
    }

    public void setPrefix(Integer prefix) {
        this.prefix = prefix;
    }
}
